package com.iflytek.universitymanagement.controller;


import com.iflytek.universitymanagement.domain.PsyQuestions;
import com.iflytek.universitymanagement.service.PsyQuestionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;


@RestController
@RequestMapping("/api/psyquestions")
public class PsyQuestionsController {
//        @Autowired
//        private PsyQuestionsService psyQuestionsService;
//
//        @GetMapping("/questions")
//        public List<PsyQuestions> getAllQuestions() {
//            return psyQuestionsService.getAllQuestions();
//        }
//
//        @PostMapping("/addQuestions")
//        public void addQuestion(@RequestBody PsyQuestions psyQuestions) {
//            psyQuestionsService.addQuestion(psyQuestions);
//        }
    }

